package com.tour.bean;

import java.io.Serializable;
import java.util.Date;

/**
 *  consumer
 * @author 张梦兴 2020-03-13
 */
public class Consumer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 用户姓名
     */
    private String consName;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 邮箱
     */
    private String consumerEmail;

    /**
     * 手机
     */
    private String phone;

    /**
     * 密码
     */
    private String consPassword;

    /**
     * 出生日期
     */
    private String consBirth;

    /**
     * 用户头像
     */
    private String consPhoto;

    /**
     * 创建时间
     */
    private Date currTime;

    public Consumer() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getConsName() {
        return consName;
    }

    public void setConsName(String consName) {
        this.consName = consName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getConsumerEmail() {
        return consumerEmail;
    }

    public void setConsumerEmail(String consumerEmail) {
        this.consumerEmail = consumerEmail;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getConsPassword() {
        return consPassword;
    }

    public void setConsPassword(String consPassword) {
        this.consPassword = consPassword;
    }

    public String getConsBirth() {
        return consBirth;
    }

    public void setConsBirth(String consBirth) {
        this.consBirth = consBirth;
    }

    public String getConsPhoto() {
        return consPhoto;
    }

    public void setConsPhoto(String consPhoto) {
        this.consPhoto = consPhoto;
    }

    public Date getCurrTime() {
        return currTime;
    }

    public void setCurrTime(Date currTime) {
        this.currTime = currTime;
    }

    @Override
    public String toString() {
        return "Consumer{" +
                "id=" + id +
                ", consName='" + consName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", consumerEmail='" + consumerEmail + '\'' +
                ", phone='" + phone + '\'' +
                ", consPassword='" + consPassword + '\'' +
                ", consBirth='" + consBirth + '\'' +
                ", consPhoto='" + consPhoto + '\'' +
                ", currTime=" + currTime +
                '}';
    }
}

